package callme.ghost.vue;

import javax.swing.JButton;

import callme.ghost.model.CreateCall;

public class ButtonCall extends JButton {

	/**
	 * Un super JBouton capable de prendre en parametre un objet CreateCall et
	 * un int.
	 * 
	 * @ Anthony
	 * 
	 */
	private static final long serialVersionUID = 1968701312525318834L;
	private int iDCall;
	private CreateCall appel;

	public ButtonCall(String toto, int iDCall, CreateCall appel) {
		super(toto);
		this.iDCall = iDCall;
		this.appel = appel;
	}

	public int getiDCall() {
		return iDCall;
	}

	public void setiDCall(int iDCall) {
		this.iDCall = iDCall;
	}

	public CreateCall getAppel() {
		return appel;
	}

	public void setAppel(CreateCall appel) {
		this.appel = appel;
	}

}
